import pdb
from wsgiref.simple_server import make_server

#url_mapping = {'info.html':info}

def application(environ,start_response):
	start_response('200 OK',[('Content-Type','text/html')]);
	response_body = ['%s:%s' %(key,value) for key,value in environ.items()]
	response_body = '<br />'.join(response_body)
	return response_body

httpd = make_server('localhost',8000,application)
httpd.handle_request()
